package lab02.Test13;

public class Gymnastics extends ComputerAverage {
    float a=2,b=9,c=1,d=8;
    public float z(){
        return (a+d)/2;
    }
    @Override
    public void average() {
        System.out.println("平均分为"+z());
    }
}